home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1994 August / Nautilus CD Magazine Volume 4-8 August 1994 Windows Edition.mdf / setup / nautcd / metatec.sbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1994-08-12  |  51KB  |  684 lines

  1. WaitStatus
  2. WaitStatus
  3. ListBoxDlg
  4. EditList
  5. ListBoxDlg
  6. keyDown
  7. OKButton
  8. CancelButton
  9. keyUp
  10. ListBox
  11. in,ms
  12. ThreeDeeRect
  13. bottomLine
  14. topLine
  15. ListBox
  16. OKButton
  17. buttonDoubleClick
  18. center
  19. topLeft
  20. topRight
  21. bottomRight
  22. bottomLeft
  23. OKButton
  24. +*+.0>
  25. stSelectedItems
  26. objListBox
  27. buttonClick
  28. CancelButton
  29. stSelectedItems
  30. buttonClick
  31. Cancel
  32. PromptText
  33. Media Type for New Item:low
  34. CancelButton
  35. stSelectedItems
  36. buttonClick
  37. buttonClick
  38. 4stack stSelectedItems
  39.     close targetWindow
  40. Cancel
  41. PromptText
  42. Media Type for New Item:low
  43. EditList
  44. OKButton
  45. buttonClick
  46. CancelButton
  47. buttonClick
  48. Cancel
  49. EditList
  50. ListBox
  51. OKButton
  52. CancelButton
  53. keyUp
  54. EditControl
  55. buttonClick
  56. Selection Number One
  57. Selection Numero Dos
  58. The Indescribably Fabulous Selection Number Three 
  59. Boring Old Number Fourrrrrrumber Four
  60. EditControl
  61. ListBox
  62. CancelButton
  63. keyUp
  64. OKButton
  65. keyChar
  66. The Indescribably Fabulous Selection Number Three      ber Three 
  67. OKButton
  68. keyChar
  69. buttonClick 
  70. B"CancelButton"
  71. (selectedTextLines 
  72. "ListBox") 
  73. z = keyEnter
  74. B"OKButton"
  75. The Indescribably Fabulous Selection Number Three      ber Three 
  76. WaitStatus
  77. OKButton
  78. WaitStatus
  79. WaitStatus
  80. Getting media properties. One moment please...
  81. Generic System Book
  82. Contents Copyright(c) 1994, Metatec Corp.
  83. DriveListViewer
  84. Page id 2
  85. tools
  86. Page id 4
  87. Tools
  88. Reader
  89. Open &Tools Window
  90. closeWindow
  91. Window
  92. ~= Reader
  93. "Open &Tools 
  94. WaitStatus
  95. Page "WaitStatus"
  96. EditList
  97. sting 1,2,3
  98. page "EditList"
  99. EditControl
  100. openWindow
  101. Window
  102. "EditControl"
  103. sting 1,2,3
  104. ListBoxDlg
  105. ge "EditList"
  106. stbox Dialog
  107. Media Position
  108. istbox Dialog
  109. Dan's Fabulous List Editing Dialog
  110. "EditControl"
  111. page "ListBoxDlg"
  112.      %"?h
  113. System
  114. HxuJlxA
  115. Arial
  116. Arial
  117. ncdVGA
  118. initMetatec
  119. linkWinFunctions
  120.     linkDLL kernel
  121. WritePrivateProfileString(
  122. GetPrivateProfileString(
  123. GetPrivateProfileInt(
  124. GetProfileString(
  125. gGetModuleHandle(
  126. GetModuleFileName(
  127. WinOpenFile = 
  128. gGetWindowsDirectory(
  129. gSetErrorMode(
  130. gGlobalAlloc(
  131. GlobalLock(
  132. GlobalUnlock(
  133. gGlobalFree(
  134. GlobalCompact(
  135. GetFreeSpace(
  136. Yield()
  137. WinHelpContext = 
  138. WinHelpKey = 
  139. gFindWindowByClass = 
  140. gFindWindowByCaption = 
  141. ShowWindow(
  142. SetWindowPos(
  143. BringWindowToTop(
  144. gSetTimer(
  145. KillTimer(
  146. PeekMessage(
  147. SendMessage(
  148. gGetDesktopWindow()
  149. gGetFreeSystemResources(
  150. GetSystemMetrics(
  151. gGetDC(
  152. ReleaseDC(
  153. gSetCapture(
  154. ReleaseCapture(
  155. AddFontResource(
  156. RemoveFontResource(
  157. GetTextMetrics(
  158. SetMapMode(
  159. sysInfo
  160. szSysInfo,szTemp
  161. dwFree
  162. %"##,###,###"
  163. J = \
  164.  Memory 
  165. F:" && 
  166. \ && "Bytes" & 
  167.     "User 
  168. o:" && 
  169. 0x0001) & "%" & 
  170.     "GDI 
  171. :" && 
  172. 0x0002) & "%"
  173. myPath
  174.  = "\"
  175. iniString iniFile,section,entry,default,bufSize
  176. szRetVal
  177. ghMem,wBufSize
  178. Zstack lpBuf
  179. xisType("
  180. 6 = 256
  181. globalMem(
  182. freeGlobalMem(
  183. iniInt 
  184. writeIniItem 
  185. ry,str
  186. nRetVal
  187. $ <> 0)
  188. profileString 
  189. dwBufSize
  190. ( = 256
  191.     lpMem = 
  192. isFile szFileSpec
  193. nFoundIt
  194. OFSTRUCT,lpFileSpec
  195. gwMode,
  196.     lpOFSTRUCT = 
  197. ,139)
  198. 0x8000 bitOr 0
  199. = SEM_NOOPENFILEERRORBOX; 0
  200.  = SEM_NOCRITICALERRORBOX
  201. , 0x4000)
  202.  = OF_EXIST
  203.  <> -1)
  204. isBook szBookName
  205. Zlogical bSysSuspend
  206. isObject(
  207. help szHelpFile,dwContext,szKeyVal
  208.         lpHelpFile = 
  209. (windowHandle 
  210. |,0x0101,
  211. "Unable 
  212. "Cannot find 
  213. " && 
  214. fileOnly 
  215.  = "\"
  216. upperCase(
  217. V(i + 1) 
  218. pathOnly 
  219.     i = 
  220.  <> "\" 
  221. i > 0
  222. i > 0
  223. baseName 
  224. ~(".",
  225. ) = 0
  226. ~(".",
  227. ) - 1) 
  228. fileExtension 
  229. ~(".",
  230. ) = 0
  231. ~(".",
  232. ) + 1) 
  233.  dwSize
  234. retVal
  235. Flags
  236.     wFlags = 0x0100 
  237. x0040
  238.     -- *** GMEM_MOVEABLE | GMEM_DISCARDABLE | GMEM_ZEROINIT *** --
  239.         -- 
  240.         -- Check 
  241. a value 
  242. zero 
  243. only,
  244.         -- 
  245. point) 
  246.         -- 
  247.     -- Pop 
  248. calling handler 
  249. needed 
  250. Remaining
  251. form: <descriptor>,<
  252. compactBook
  253. szOrig,
  254. ".bak" 
  255. ~(".",
  256.     -- just 
  257.  backup?" 
  258. f"Yes" 
  259. "tb30dos.dll"
  260. removeFile(
  261. screenResolution
  262.  ptScreenRes
  263. waitStatus szWaitText
  264. isOpen 
  265. "WaitStatus" 
  266.             close 
  267. editList szCaption,szList,wSelectedItem
  268. \i,lListSize
  269. gwMaxChars,wMargin
  270. I = 0
  271. R = 1
  272. "ListBox" 
  273. "EditList" 
  274. "EditControl" 
  275.     selectedTextLines 
  276. aveCharWidth(
  277. targetWindow)) + \
  278. 2) * 
  279. sysPageUnitsPerPixel)
  280.         rSide 
  281. B"CancelButton" = 
  282. B"OKButton" = lSide(
  283. 5) - 30
  284.         translateWindowMessage 
  285.             on 0x0112 
  286. WM_SYSCOMMAND 
  287.     bOK = 
  288. %modal
  289. listBoxDlg 
  290. Prompt,stList,stSelected
  291. stSelectedItems
  292. {objListBoxGroup,
  293. ,objPromptText
  294. dwTextWidth
  295.     sysSuspendMessages = 
  296. "ListBoxDlg" 
  297. (szPrompt))
  298. ) > 1
  299.         fieldType 
  300.  = multiSelect
  301.  = singleSelect
  302. 2) * 
  303. ) - 30
  304.             on 0
  305. flushMessageQueue()    -- *** In 
  306. Mdlg was invoked 
  307. Ha keypress 
  308. <Enter> 
  309.  *** --
  310.     -- *** Set 
  311. either 
  312.  *** --
  313.     defaultAllowDrop 
  314. szDir
  315. ,255)
  316. szIdleCmds[]
  317. szCopy[],szCmd
  318. dimensions(
  319. -) > 0
  320. deleteStringMember 
  321.         reset 
  322. hwnd,wMsg,wParam,lParamLo,lParamHi
  323. $ = 0xF060
  324. buttonClick 
  325. ghdc,
  326. tmAveCharWidth
  327. V6)    -- *** MM_TWIPS *** --
  328. .(10,
  329. tbkTextMetrics 
  330. szMetrics
  331. ghDC,
  332. K6)    -- *** 
  333. .(i * 2,
  334. .(25,
  335. .(27,
  336. .(29,
  337. array ar[],
  338. Hreference,wItem
  339. gwHighMark
  340. @ - 1)
  341.             arCopy[i] = ar[i]
  342.  - 1)
  343.  - 1)
  344. O + 1]
  345. deleteDwordMember 
  346. ""    -- *** 
  347. znothing trap *** --
  348.  - 1)
  349.  - 1)
  350.  - 1)
  351.  + 1]
  352. deleteStackMember 
  353. ""    -- *** 
  354.  - 1)
  355.  - 1)
  356.  - 1)
  357.  + 1]
  358. insertStringMember 
  359. ,newVal
  360. gwNewHighMark
  361. ar) + 1)
  362.  - 1]
  363.  - 1)
  364. insertDwordMember 
  365. ar) + 1)
  366.  - 1]
  367.  - 1)
  368. insertStackMember 
  369. ar) + 1)
  370.  - 1]
  371.  - 1)
  372. newLSide
  373. newRSide
  374.  - width(
  375. removeUnreferencedBitmaps
  376. szResources
  377.  = resourceList("
  378. O) = 0
  379. statusBar = "Removing bitmap #" && i && "
  380. " && 
  381. " && (
  382. ) & ". Continuing..."
  383. Done"
  384. ;Fc^;
  385. linkWinFunctions
  386. initMetatec
  387. AddFontResource
  388. RemoveFontResource
  389. GetTextMetrics
  390. SetMapMode
  391. WritePrivateProfileString
  392. GetPrivateProfileString
  393. GetPrivateProfileInt
  394. GetProfileString
  395. GetModuleHandle
  396. GetModuleFileName
  397. OpenFile
  398. WinOpenFile
  399. GetWindowsDirectory
  400. SetErrorMode
  401. GlobalAlloc
  402. GlobalLock
  403. GlobalUnlock
  404. GlobalFree
  405. GlobalCompact
  406. GetFreeSpace
  407. Yield
  408. WinHelp
  409. WinHelpContext
  410. WinHelp
  411. WinHelpKey
  412. FindWindow
  413. FindWindowByClass
  414. FindWindow
  415. FindWindowByCaption
  416. ShowWindow
  417. SetWindowPos
  418. BringWindowToTop
  419. SetTimer
  420. KillTimer
  421. PeekMessage
  422. SendMessage
  423. GetDesktopWindow
  424. GetFreeSystemResources
  425. GetSystemMetrics
  426. GetDC
  427. ReleaseDC
  428. SetCapture
  429. ReleaseCapture
  430. kernel
  431. linkWinFunctions
  432. .&+    h
  433. w,    #?
  434. w,    #?
  435. GetFreeSpace
  436. System Memory Free:
  437. GetFreeSystemResources
  438. User Resources Free:
  439. GDI Resources Free:
  440. ##,###,###
  441. Bytes
  442. sysInfo
  443. myPath
  444. .freeGlobalMem
  445. (GetPrivateProfileString
  446. globalMem
  447. iniString
  448. GetPrivateProfileInt
  449. iniInt
  450. WritePrivateProfileString
  451. writeIniItem
  452. GetProfileString
  453. .freeGlobalMem
  454. globalMem
  455. profileString
  456. -SetErrorMode
  457. .freeGlobalMem
  458. WinOpenFile
  459. globalMem
  460. isFile
  461. isBook
  462. .freeGlobalMem
  463. Cannot find help file
  464. WinHelpKey
  465. isFile
  466. WinHelpContext
  467. globalMem
  468. Unable to run Help!
  469. 1,    #b
  470. fileOnly
  471. pathOnly
  472. 1,    #b
  473. EofileOnly
  474. baseName
  475. 1,    #b
  476. fileExtension
  477. GlobalAlloc
  478. GlobalFree
  479. GlobalLock
  480. globalMem
  481. GlobalUnlock
  482. false
  483. GlobalFree
  484. freeGlobalMem
  485. removeFile
  486. tb30dos.dll
  487. Remove backup?
  488. removeFile
  489. compactBook
  490. GetSystemMetrics
  491. screenResolution
  492. .&+    +E
  493. WaitStatus
  494. default
  495. waitStatus
  496. 1,    "Q
  497. ListBox
  498. EditControl
  499. OKButton
  500. CancelButton
  501. rSide
  502. aveCharWidth
  503. EditList
  504. rSide
  505. GetSystemMetrics
  506. WM_SYSCOMMAND
  507. lSide
  508. editList
  509. +*+.0
  510. 1,    "Q
  511. .&,    7
  512. .&,    7
  513. ListBox
  514. PromptText
  515. ListBoxDlg
  516. OKButton
  517. CancelButton
  518. objPromptText
  519. objListBoxGroup
  520. rSide
  521. aveCharWidth
  522. rSide
  523. GetSystemMetrics
  524. WM_SYSCOMMAND
  525. stSelectedItems
  526. objListBox
  527. lSide
  528. listBoxDlg
  529. .freeGlobalMem
  530. globalMem
  531. Y}GetWindowsDirectory
  532. WindowsDir
  533. szIdleCmds
  534. szCopy
  535. szCmd
  536. J$deleteStringMember
  537. szIdleCmds
  538. CancelButton
  539. WWM_SYSCOMMAND
  540. WM_SYSCOMMAND
  541. GetTextMetrics
  542. .freeGlobalMem
  543. }ReleaseDC
  544. GetDC
  545. SetMapMode
  546. globalMem
  547. aveCharWidth
  548. GetTextMetrics
  549. .freeGlobalMem
  550. }ReleaseDC
  551. GetDC
  552. SetMapMode
  553. globalMem
  554. tbkTextMetrics
  555. deleteStringMember
  556. deleteDwordMember
  557. deleteStackMember
  558. insertStringMember
  559. insertDwordMember
  560. insertStackMember
  561. lSide
  562. rSide
  563. lSide
  564. width
  565. rSide
  566. width
  567. -#,    #?
  568. -$,    #?
  569. 1,    #?
  570. Removing bitmap #
  571. Cannot remove
  572. . Continuing...
  573. statusBar
  574. removeUnreferencedBitmaps
  575. &File
  576. &Open...    Ctrl+O
  577. &Save    Ctrl+S
  578. Save &As...
  579. saveas
  580. &Import...
  581. import
  582. &Export...
  583. export
  584. Print Set&up...
  585. printsetup
  586. &Print Pages...    Ctrl+P
  587. printpages
  588. Prin&t Report...
  589. printreport
  590. Send &Mail...
  591. sendmail
  592. &Run...
  593. E&xit    Alt+F4
  594. &Edit
  595. &Undo    Ctrl+Z
  596. Cu&t    Ctrl+X
  597. &Copy    Ctrl+C
  598. &Paste    Ctrl+V
  599. paste
  600. C&lear    Del
  601. clear
  602. Select &All    Shift+F9
  603. selectall
  604. Select Pa&ge    Shift+F12
  605. selectpage
  606. &Size to Page    F11
  607. sizetopage
  608. F&ind...    F5
  609. search
  610. Re&place...
  611. replace
  612. A&uthor    F3
  613. author
  614. &Text
  615. &Character...    F6
  616. character
  617. &Paragraph...    F7
  618. paragraph
  619. &Regular    Ctrl+Space
  620. regular
  621. &Bold    Ctrl+B
  622. &Italic    Ctrl+I
  623. italic
  624. &Underline    Ctrl+U
  625. underline
  626. Stri&keout    Ctrl+K
  627. strikeout
  628. Superscrip&t/Subscript
  629. super/subscript
  630. &Normal Script
  631. normalscript
  632. Su&bscript    Ctrl+L
  633. subscript
  634. Su&perscript    Ctrl+Shift+L
  635. superscript
  636. &Show Hotwords    F9
  637. showhotwords
  638. &Page
  639. &Next    Alt+Right
  640. &Previous    Alt+Left
  641. previous
  642. &First    Alt+Up
  643. first
  644. &Last    Alt+Down
  645. &Back    Shift+F2
  646. &History...    Ctrl+F2
  647. history
  648. N&ew Page    Ctrl+N
  649. newpage
  650. &Help
  651. &Contents    F1
  652. contents
  653. Status &Bar    F12
  654. statusbar
  655. Small Fonts
  656.                     
  657.                         
  658.                     
  659.                     
  660.                     
  661.                                             
  662.                                     
  663.                     
  664.                     
  665.                         
  666.                     
  667. `hgag<
  668. ggagg
  669. agagg
  670. ggagh
  671. R...Y
  672. S.YY...Y
  673. .R5YR..
  674. Y5R....}
  675. _....
  676. YYYY....
  677. YR...}
  678. YR......
  679. .......Y
  680. R......Y
  681. Y.....Y
  682. YR..Y
  683. WaitStatus
  684.